package netcom.messages;

import codeoffloading.ExecutableClass;

public class ExecutionReplyMessage extends Message {

	private ExecutableClass cla;
	private Object results;
	private String method;
	private boolean executionCompleted;
	private int executionId;
	
	
	public ExecutionReplyMessage(int messageId, int executionId, ExecutableClass _cla,String method, Object results, boolean _executionCompleted) {
		super(messageId);
		this.method = method;
		this.results = results;
		cla = _cla;
		this.executionId = executionId;
	}

	public int getExecutionId(){ return executionId; }
	public Object getResults() { return results; }
	public String getMethod() { 	return method; }
	public ExecutableClass getCla() {	return cla; }
	public boolean isExecutionCompleted() { return executionCompleted; }
	
	
	
	
}
